# -*- coding: utf-8 -*-
# ****************************************************
# Author: yizuoliang
# Create: 2024/6/24
# Last Modified: 2024/6/24
# Last Editor:
# Filename: __init__.py
# Description: 项目注册
# ***************************************************

from flask import Flask, Blueprint

from applications.controller.user_controller import bp as user_bp
from applications.controller.test_controller import bp as test_bp

# 创建sys
system_bp = Blueprint('system', __name__, url_prefix='/system')


def register_bps(app: Flask):
    # 在注册子蓝图
    system_bp.register_blueprint(user_bp)
    system_bp.register_blueprint(test_bp)
    app.register_blueprint(system_bp)
